Branchwell

PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Viscera / EVET - The Beast of Eden.milk

1MILKDROP_PRESET_VERSION=201
2PSVERSION=3
3PSVERSION_WARP=3
4PSVERSION_COMP=3
5[preset00]
6fRating=5.000000
7fGammaAdj=1.980
8fDecay=0.500
9fVideoEchoZoom=1.000
10fVideoEchoAlpha=0.500
11nVideoEchoOrientation=3
12nWaveMode=4
13bAdditiveWaves=0
14bWaveDots=0
15bWaveThick=0
16bModWaveAlphaByVolume=1
17bMaximizeWaveColor=1
18bTexWrap=1
19bDarkenCenter=0
20bRedBlueStereo=0
21bBrighten=0
22bDarken=1
23bSolarize=0
24bInvert=0
25fWaveAlpha=0.003
26fWaveScale=1.291
27fWaveSmoothing=0.450
28fWaveParam=0.080
29fModWaveAlphaStart=0.000
30fModWaveAlphaEnd=1.320
31fWarpAnimSpeed=1.459
32fWarpScale=2.007
33fZoomExponent=1.00000
34fShader=0.000
35zoom=0.99990
36rot=0.00000
37cx=0.500
38cy=0.500
39dx=0.00000
40dy=0.00000
41warp=0.01000
42sx=0.99990
43sy=1.00000
44wave_r=0.000
45wave_g=0.990
46wave_b=1.000
47wave_x=0.500
48wave_y=0.500
49ob_size=0.000
50ob_r=0.000
51ob_g=0.000
52ob_b=0.000
53ob_a=1.000
54ib_size=0.260
55ib_r=0.250
56ib_g=0.250
57ib_b=0.250
58ib_a=0.000
59nMotionVectorsX=64.000
60nMotionVectorsY=48.000
61mv_dx=0.000
62mv_dy=0.000
63mv_l=1.850
64mv_r=0.500
65mv_g=0.500
66mv_b=0.500
67mv_a=0.000
68b1n=0.000
69b2n=0.000
70b3n=0.000
71b1x=1.000
72b2x=1.000
73b3x=1.000
74b1ed=0.000
75wavecode_0_enabled=0
76wavecode_0_samples=512
77wavecode_0_sep=120
78wavecode_0_bSpectrum=0
79wavecode_0_bUseDots=0
80wavecode_0_bDrawThick=0
81wavecode_0_bAdditive=1
82wavecode_0_scaling=0.89152
83wavecode_0_smoothing=0.82000
84wavecode_0_r=1.000
85wavecode_0_g=1.000
86wavecode_0_b=1.000
87wavecode_0_a=0.600
88wavecode_1_enabled=0
89wavecode_1_samples=512
90wavecode_1_sep=0
91wavecode_1_bSpectrum=0
92wavecode_1_bUseDots=1
93wavecode_1_bDrawThick=1
94wavecode_1_bAdditive=0
95wavecode_1_scaling=0.89152
96wavecode_1_smoothing=0.82000
97wavecode_1_r=1.000
98wavecode_1_g=1.000
99wavecode_1_b=1.000
100wavecode_1_a=0.100
101wavecode_2_enabled=0
102wavecode_2_samples=512
103wavecode_2_sep=0
104wavecode_2_bSpectrum=0
105wavecode_2_bUseDots=0
106wavecode_2_bDrawThick=1
107wavecode_2_bAdditive=0
108wavecode_2_scaling=0.89152
109wavecode_2_smoothing=0.82000
110wavecode_2_r=0.000
111wavecode_2_g=0.200
112wavecode_2_b=0.000
113wavecode_2_a=1.000
114wavecode_3_enabled=0
115wavecode_3_samples=512
116wavecode_3_sep=0
117wavecode_3_bSpectrum=1
118wavecode_3_bUseDots=1
119wavecode_3_bDrawThick=0
120wavecode_3_bAdditive=0
121wavecode_3_scaling=1.00000
122wavecode_3_smoothing=0.50000
123wavecode_3_r=1.000
124wavecode_3_g=1.000
125wavecode_3_b=1.000
126wavecode_3_a=1.000
127shapecode_0_enabled=0
128shapecode_0_sides=4
129shapecode_0_additive=0
130shapecode_0_thickOutline=0
131shapecode_0_textured=0
132shapecode_0_num_inst=1
133shapecode_0_x=0.500
134shapecode_0_y=0.500
135shapecode_0_rad=0.10853
136shapecode_0_ang=0.00000
137shapecode_0_tex_ang=1.00531
138shapecode_0_tex_zoom=1.53117
139shapecode_0_r=0.500
140shapecode_0_g=0.000
141shapecode_0_b=0.900
142shapecode_0_a=1.000
143shapecode_0_r2=0.830
144shapecode_0_g2=0.930
145shapecode_0_b2=0.800
146shapecode_0_a2=1.000
147shapecode_0_border_r=1.000
148shapecode_0_border_g=1.000
149shapecode_0_border_b=0.000
150shapecode_0_border_a=0.000
151shape_0_per_frame1=
152shape_0_per_frame2=x = .5; y = .5;
153shape_0_per_frame3=a = q22/28;
154shape_0_per_frame4=a2 = 0;
155shape_0_per_frame5=//a = 1;
156shapecode_1_enabled=0
157shapecode_1_sides=4
158shapecode_1_additive=0
159shapecode_1_thickOutline=1
160shapecode_1_textured=0
161shapecode_1_num_inst=1
162shapecode_1_x=0.400
163shapecode_1_y=0.500
164shapecode_1_rad=2.36696
165shapecode_1_ang=0.00000
166shapecode_1_tex_ang=3.45575
167shapecode_1_tex_zoom=0.99305
168shapecode_1_r=0.500
169shapecode_1_g=0.000
170shapecode_1_b=1.000
171shapecode_1_a=0.200
172shapecode_1_r2=0.700
173shapecode_1_g2=0.400
174shapecode_1_b2=0.000
175shapecode_1_a2=0.000
176shapecode_1_border_r=0.500
177shapecode_1_border_g=0.500
178shapecode_1_border_b=0.500
179shapecode_1_border_a=0.000
180shape_1_per_frame1=a2 =0;a = 0;
181shape_1_per_frame2=a = q24/2;
182shapecode_2_enabled=1
183shapecode_2_sides=44
184shapecode_2_additive=0
185shapecode_2_thickOutline=0
186shapecode_2_textured=0
187shapecode_2_num_inst=1
188shapecode_2_x=0.503
189shapecode_2_y=0.500
190shapecode_2_rad=0.03886
191shapecode_2_ang=0.00000
192shapecode_2_tex_ang=0.00000
193shapecode_2_tex_zoom=0.60986
194shapecode_2_r=1.000
195shapecode_2_g=0.100
196shapecode_2_b=0.000
197shapecode_2_a=0.900
198shapecode_2_r2=1.000
199shapecode_2_g2=1.000
200shapecode_2_b2=1.000
201shapecode_2_a2=0.000
202shapecode_2_border_r=1.000
203shapecode_2_border_g=1.000
204shapecode_2_border_b=1.000
205shapecode_2_border_a=0.000
206shape_2_per_frame1=x = .5+.5*(rand(100)-50)/100;
207shape_2_per_frame2=y = .5+.5*(rand(100)-50)/100;
208shape_2_per_frame3=
209shape_2_per_frame4=r = rand(4)/3;
210shape_2_per_frame5=g = rand(4)/3;
211shape_2_per_frame6=b = rand(4)/3;
212shape_2_per_frame7=
213shape_2_per_frame8=
214shape_2_per_frame9=is_beat = above(time, t0+.05);
215shape_2_per_frame10=t0 = is_beat*time + (1-is_beat)*t0;
216shape_2_per_frame11=
217shape_2_per_frame12=
218shape_2_per_frame13=a = min(q21 ,.9) * is_beat;
219shape_2_per_frame14=rad = a*a/3 ;
220shape_2_per_frame15=
221shapecode_3_enabled=0
222shapecode_3_sides=63
223shapecode_3_additive=0
224shapecode_3_thickOutline=0
225shapecode_3_textured=1
226shapecode_3_num_inst=1
227shapecode_3_x=0.500
228shapecode_3_y=1.000
229shapecode_3_rad=0.54822
230shapecode_3_ang=0.00000
231shapecode_3_tex_ang=0.00000
232shapecode_3_tex_zoom=0.49981
233shapecode_3_r=1.000
234shapecode_3_g=1.000
235shapecode_3_b=1.000
236shapecode_3_a=1.000
237shapecode_3_r2=1.000
238shapecode_3_g2=1.000
239shapecode_3_b2=1.000
240shapecode_3_a2=0.000
241shapecode_3_border_r=0.500
242shapecode_3_border_g=0.500
243shapecode_3_border_b=0.500
244shapecode_3_border_a=0.000
245per_frame_init_1=proxy = 3; pos_z = proxy*100;
246per_frame_init_2=movz = 0;
247per_frame_init_3=avg = 0;
248per_frame_init_4=avg_= 2;
249per_frame_1=dec_m = pow (0.95, 30/fps); dec_s = pow (0.99, 30/fps);
250per_frame_2=
251per_frame_3=beat = bass+mid+treb;
252per_frame_4=avg = avg*dec_s + beat*(1-dec_s);
253per_frame_5=avg_ = avg_*dec_s + avg*(1-dec_s);
254per_frame_6=is_beat = above(beat, 4+avg+peak) * above (time, t0+1);
255per_frame_7=t0 = is_beat*time + (1-is_beat)*t0;
256per_frame_8=peak = is_beat * beat + (1-is_beat)*peak*dec_m;
257per_frame_9=index = (index + is_beat) %16;
258per_frame_10=//index2 = (index2 + is_beat*bnot(index))%8;
259per_frame_11=q20 = avg_/3;
260per_frame_12=q22 = max(0,peak-.0)+.01;
261per_frame_13=q24 = is_beat;
262per_frame_14=q27 = index +1;
263per_frame_15=
264per_frame_16=push = (avg-2.5)/3;
265per_frame_17=ax = -(xang + min(max(push,-.7),.7))/3; //Divisor: 1/Frequenz
266per_frame_18=
267per_frame_19=ax = if (below(ax,0),ax*2,ax);
268per_frame_20=vx = vx *(1-1/fps)+ ax/fps; //1/fps: Daempfung
269per_frame_21=xang = xang + vx/fps;
270per_frame_22=// WINKEL
271per_frame_23=zang = 0;
272per_frame_24=yang = - .5*sin(time/16);
273per_frame_25=//yang = .7;
274per_frame_26=
275per_frame_27=//BEWEGUNG
276per_frame_28=movz= if(above(avg_/3,1.2),1,movz);
277per_frame_29=movz = if(below(avg_/3,.9),-1,movz);
278per_frame_30=proxy = proxy + movz/fps/4;
279per_frame_31=proxy = min(max(proxy,1.1),4);
280per_frame_32=proxy = 4-3*abs(sin(time/24));
281per_frame_33=pos_z = dec_s * pos_z + (1-dec_s)*proxy*100;
282per_frame_34=
283per_frame_35=trelx = trelx + .1*sin(time/11)/fps*yang;
284per_frame_36=q5 = trelx;
285per_frame_37=trely = trely + xang*.2/fps; q6 = trely;
286per_frame_38=//q6 = time*.03;
287per_frame_39=vleaf = vleaf + (avg/64)/fps;
288per_frame_40=q29 = vleaf;
289per_frame_41=lrot = lrot + bass_att/fps*.2;
290per_frame_42=q32 = lrot;
291per_frame_43=
292per_frame_44=ox = 0; oy = 0; oz = pos_z;
293per_frame_45=mx = ox*cos(zang) - oy*sin(zang);
294per_frame_46=my = ox*sin(zang) + oy*cos(zang);
295per_frame_47=ox = mx;oy = my;
296per_frame_48=mx = ox*cos(yang) + oz*sin(yang);
297per_frame_49=mz = - ox*sin(yang) + oz*cos(yang);
298per_frame_50=ox = mx;oz = mz;
299per_frame_51=my = oy*cos(xang) - oz*sin(xang);
300per_frame_52=mz = oy*sin(xang) + oz*cos(xang);
301per_frame_53=oy = my;oz = mz;
302per_frame_54=q11=ox; q12 = oy; q13 = oz; //Position
303per_frame_55=
304per_frame_56=//Vektor x nach rechts
305per_frame_57=ox = 1; oy = 0; oz = 0;
306per_frame_58=mx = ox*cos(zang) - oy*sin(zang);
307per_frame_59=my = ox*sin(zang) + oy*cos(zang);
308per_frame_60=ox = mx;oy = my;
309per_frame_61=mx = ox*cos(yang) + oz*sin(yang);
310per_frame_62=mz = - ox*sin(yang) + oz*cos(yang);
311per_frame_63=ox = mx;oz = mz;
312per_frame_64=my = oy*cos(xang) - oz*sin(xang);
313per_frame_65=mz = oy*sin(xang) + oz*cos(xang);
314per_frame_66=oy = my;oz = mz;
315per_frame_67=q14=ox; q15 = oy; q16 = oz;
316per_frame_68=
317per_frame_69=
318per_frame_70=//Vektor z nach hinten
319per_frame_71=ox = 0; oy = 0; oz = 1;;
320per_frame_72=
321per_frame_73=mx = ox*cos(zang) - oy*sin(zang);
322per_frame_74=my = ox*sin(zang) + oy*cos(zang);
323per_frame_75=ox = mx;oy = my;
324per_frame_76=mx = ox*cos(yang) + oz*sin(yang);
325per_frame_77=mz = - ox*sin(yang) + oz*cos(yang);
326per_frame_78=ox = mx;oz = mz;
327per_frame_79=my = oy*cos(xang) - oz*sin(xang);
328per_frame_80=mz = oy*sin(xang) + oz*cos(xang);
329per_frame_81=oy = my;
330per_frame_82=oz = mz;
331per_frame_83=q17=ox; q18 = oy; q19 = oz;
332per_frame_84=
333per_frame_85=q31 = 20/pos_z;
334per_frame_86=q32 = pos_z;
335per_pixel_1=zoom = .995;
336warp_1=`sampler sampler_worms;
337warp_2=`float3 color, mus;
338warp_3=`float2 uv1, uv6;
339warp_4=`float dx,dy;
340warp_5=`
341warp_6=`shader_body {
342warp_7=`
343warp_8=`uv1 = (uv-.5);
344warp_9=`
345warp_10=`float2 ang2= tex2D (sampler_noise_hq,uv1/3+.006*time).xy;
346warp_11=`uv6 = mul(uv1,float2x2(ang2.y,-ang2.x,ang2.x,ang2.y));
347warp_12=`
348warp_13=`mus = abs(.5*cos(uv6.y*14)-(cos(uv6.x*71)));
349warp_14=`mus *= float3 (1,.96,.9)/25;
350warp_15=`
351warp_16=`uv6 = .2*sin(12*uv+rand_frame);
352warp_17=`float3 dots = .001/length(uv6)* float3 (0.2,1,1);
353warp_18=`
354warp_19=`//dots = lum(tex2D (sampler_noise_hq,uv +rand_frame));
355warp_20=`//dots = (dots-.7) * (dots >= .7) * float3 (0.2,1,1);
356warp_21=`
357warp_22=`mus -= dots;
358warp_23=`
359warp_24=`
360warp_25=`float3 blur = GetBlur1(frac(uv));
361warp_26=`
362warp_27=`float2 hor = float2 (texsize.z,0);
363warp_28=`float2 ver = float2 (0,texsize.w);
364warp_29=`hor = float2 (.004,0);
365warp_30=`ver = float2 (0,.004);
366warp_31=`
367warp_32=`
368warp_33=`
369warp_34=`float dx = lum(GetPixel(uv+hor)-GetPixel(uv-hor));
370warp_35=`float dy = lum(GetPixel(uv+ver)-GetPixel(uv-ver));
371warp_36=`
372warp_37=`float2 zz = float2 (dx,dy);
373warp_38=`
374warp_39=`
375warp_40=`float3 crisp= tex2D(sampler_main,uv+zz*.02);
376warp_41=`crisp +=.015 - length(zz)*blur/1.5;
377warp_42=`
378warp_43=`float3 ret1 = crisp - lum(blur)*.012 + mus;
379warp_44=`//ret1 = abs(mus)/2;
380warp_45=`ret = ret1 * .99 - .04 ;
381warp_46=`
382warp_47=`
383warp_48=`}
384comp_1=`sampler sampler_pw_noise_lq;
385comp_2=`static float quality = 2, depth = q31;
386comp_3=`float3 neu, rsl, rsl2, rsl3, ret1, screen3, back,lcol, sky;
387comp_4=`float2 uv0, uv1, uv2, uv4;
388comp_5=`float lprof,lprof2,m,n,dist,cloud,mask, shadow, mask1,lmask,leaves,clshadow,gmask;
389comp_6=`static float lav_gnd = 0;
390comp_7=`static const float anz = 3;
391comp_8=`static float2 mov = float2 (q5,q6);
392comp_9=`
393comp_10=`static float3 t = float3(q14,q15,q16);
394comp_11=`static float3 s = float3(q17,q18,q19);
395comp_12=`static float3 ts = -cross(s,t);
396comp_13=`static float3 pos = float3 (q11,q12,q13);
397comp_14=`
398comp_15=`float3 project (float3 pos, float dist) {
399comp_16=` float z;
400comp_17=` z = dist/mul(cross(ts,-t),screen3) *(1-lav_gnd);
401comp_18=` gmask = (z <= 0)*(z >= -8);
402comp_19=` return gmask* float3(mul(float2x3(ts,t),cross(pos,screen3))*z/256,-z);}
403comp_20=`
404comp_21=`float3 lproject (float3 pos, float dist) {
405comp_22=` float z;
406comp_23=` z = dist/mul(cross(ts,-t),screen3) *(1-lav_gnd) ;
407comp_24=` return (z<=0)*(z>=-4)* float3(mul(float2x3(ts,t),cross(pos,screen3))*z/256,-z);}
408comp_25=`
409comp_26=`float noise2 (float2 uvi)
410comp_27=`{return 1*(tex2D (sampler_noise_hq,uvi) + 0*tex2D (sampler_noise_hq,uvi*4)/4);}
411comp_28=`
412comp_29=`shader_body {uv0 = uv;
413comp_30=`screen3 = float3 ((uv-.5)*aspect.xy,1);//wirkt wie zoom / Tele ###
414comp_31=`
415comp_32=`//*****leaves**********
416comp_33=`lav_gnd = tex2D (sampler_noise_hq,uv)*.03;
417comp_34=`rsl3 = lproject(pos,1.5) + float3 (q29,-time/118,0) + float3 (mov,0);
418comp_35=`float glmask = tex2D (sampler_pw_noise_lq,rsl3.x*.004) >= .3;
419comp_36=`uv2 = rsl3.xy*16;
420comp_37=`uv2.y += tex2D (sampler_pw_noise_lq,uv2.x/256).g*-2*time;
421comp_38=`float3 noise = 8*tex2D (sampler_pw_noise_lq,uv2/256);
422comp_39=`lmask = noise.g >= 7.; lmask *= glmask;
423comp_40=`uv2 = frac(uv2);
424comp_41=`float lside = sin((noise.b-8)*2*time+q32);
425comp_42=`float lsize = 3*(noise.g-6);
426comp_43=`leaves = lmask*lsize *(3+frac(4*uv2.x/uv2.y))/4
427comp_44=` -26*length((uv2-.5)*float2(1,2/lside));
428comp_45=`lcol = (1+tex2D (sampler_noise_hq,uv2/8+noise))* float3 (.8+lside/4,.5,0);;
429comp_46=`lcol -= tex2D (sampler_noise_hq,uv2+noise).r*.25;
430comp_47=`leaves = saturate(leaves);
431comp_48=`
432comp_49=`//**** main part ******
433comp_50=`lav_gnd = 0;
434comp_51=`rsl = project (pos, 1)+float3 (time*.006,.6,0);
435comp_52=`back = saturate(1-rsl.y);
436comp_53=`
437comp_54=`float3 back7=back;
438comp_55=`if(frame%3==0)back.z=.71-back7.x;
439comp_56=`
440comp_57=`cloud = saturate(noise2(rsl.xy/8*float2(1,4))-.4)*saturate(.5+back);
441comp_58=`back *= slow_roam_sin.wyx*roam_cos.wzy*.6;//float3(.7,.77,.96);
442comp_59=`
443comp_60=`if(frame%5==0)back.x=.71-back7.y;
444comp_61=`if(frame%7==0)back.y=.71-back7.z;
445comp_62=`
446comp_63=`sky = lerp(back,2*cloud,cloud/2);
447comp_64=`//sky = back;
448comp_65=`//sky = back + cloud/4;
449comp_66=`ret1 = sky;
450comp_67=`lprof2 = 0;
451comp_68=`for (n=anz; n >= 1; n--) {
452comp_69=` dist = (n); lav_gnd = 0; mov += n/anz;
453comp_70=` for (m=1; m <= quality; m++) {
454comp_71=` rsl = project (pos, dist)+float3 (mov,0);
455comp_72=` lprof = .5-lum(GetBlur1(frac(rsl.xy))); //mittelwert null !#
456comp_73=` lav_gnd -= lprof/quality*depth/rsl.z;
457comp_74=` }
458comp_75=`
459comp_76=` rsl = project (pos, dist)+float3 (mov,0) ;
460comp_77=` rsl2 = project (pos, dist)+float3 (0,0,0);
461comp_78=` int first = (n==1);
462comp_79=` if (!first) {shadow = saturate(4*GetPixel(frac(rsl2.xy))) ;}
463comp_80=` neu = GetPixel(frac(rsl.xy));
464comp_81=` float dista = length(rsl.xy)*.001;
465comp_82=` mask = saturate(16/dist*lum(neu))*gmask;
466comp_83=` neu *= 1-.5*lum(tex2D (sampler_noise_lq,rsl.xy*4));
467comp_84=` clshadow = clamp (q20*1.6-noise2(rsl.xy*float2(.02,.1)+float2(time*.01,0)),.2,1);
468comp_85=` neu *= (1-shadow*.5* (!first))*clshadow;
469comp_86=`
470comp_87=`// neu *= saturate(noise2(rsl.xy/16+time*.01)+q20-.5+0*(rsl.z)) ; // Abdunkelung hinten
471comp_88=` neu = lerp(back, neu, saturate(5-rsl.z)); //Nebel
472comp_89=` ret1 = lerp(ret1,neu,mask) ;
473comp_90=`}
474comp_91=`
475comp_92=`rsl = project (pos, dist)+float3 (mov+lprof/2,0);
476comp_93=`
477comp_94=`ret1 = lerp(ret1,leaves*(1-shadow/2)*clshadow*lcol, leaves*.5*saturate(!mask));
478comp_95=`//ret1 *= clshadow;
479comp_96=`//ret = 1-exp(-ret1*2+.1) ;
480comp_97=`ret = ret1;
481comp_98=`
482comp_99=`
483comp_100=`}
484comp_101=`
485comp_102=`written by martin
486comp_103=`END